On Device State Change Listener
interface OnDeviceStateChangeListener
Definition for a callback from an IDeviceCompat instance on a connection state change, battery state change, or external power state change.
Functions
Link copied to clipboard
Called when the Nix device has updated its battery level measurement.
Link copied to clipboard
Called when the Nix device has completed the connection process and is now idle.
Link copied to clipboard
Called when the Nix device has disconnected from the host.
Link copied to clipboard
Called when the Nix device has been connected or disconnected from an external power source.